package com.baitiaojun.bulletscreen.util;

import com.baitiaojun.bulletscreen.websocket.BulletScreenWebSocketServer;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicInteger;

/**
 * @类名 ConstantUtil
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2023/1/1 14:38
 * @版本 1.0
 */
public class BulletScreenConstantUtil {

    //多线程下的websocketservice存储和获取
    public static final Map<String, BulletScreenWebSocketServer> BULLET_SCREEN_MAP = new ConcurrentHashMap<>();

    public static final Map<Long, AtomicInteger> ONLINE_COUNT_MAP = new ConcurrentHashMap<>();
}
